package com.wlps.service;

import com.wlps.entity.CommodityWarehouse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wlps.result.ResultPageVo;
import com.wlps.result.ResultVo;
import com.wlps.vo.sendcenter.warehouse.*;

import java.util.List;

/**
 * <p>
 * 商品-库房表(commodity_warehouse)（中间表） 服务类
 * </p>
 *
 * @author ZWYZY
 * @since 2020-07-31
 */
public interface ICommodityWarehouseService extends IService<CommodityWarehouse> {
    /**
     * 分页显示出入单
     *
     * @param pageNum
     * @param pageSize
     * @param inOutConditionVo
     * @return
     */
    ResultPageVo<List<InOutVo>> getInOutVo(int pageNum, int pageSize, InOutConditionVo inOutConditionVo);

    /**
     * 分页显示商品库存量
     *
     * @param pageNum
     * @param pageSize
     * @param name
     * @return
     */
    ResultPageVo<List<CurrentNumberVo>> getCurrentNumberVo(int pageNum, int pageSize, String name);


    /**
     * 增加/修改库房储备设置
     *
     * @param warehouseSettingSaveOrUpdateVo
     * @return
     */
    ResultVo updateWarehouseSettingSaveOrUpdateVo(WarehouseSettingSaveOrUpdateVo warehouseSettingSaveOrUpdateVo);


    /**
     * 分页显示商品库房储备设置
     *
     * @param pageNum
     * @param pageSize
     * @param name
     * @return
     */
    ResultPageVo<List<WarehouseSettingVo>> getWarehouseSettingVo(int pageNum, int pageSize, String name);
}
